package com.alstudio.net.protocol.xmpp.parser.presence;

import java.io.ByteArrayInputStream;

import com.alstudio.net.callback.XmppEventListener;
import com.alstudio.net.protocol.xmpp.XmlReader;
import com.alstudio.net.protocol.xmpp.packact.Presence;
import com.alstudio.net.protocol.xmpp.parser.BaseParser;
import com.alstudio.utils.Mylog;

public class PresenceParser extends BaseParser{
	
	private Presence presence;
	
	private final String TAG = "PresenceParser";
	

	public PresenceParser(Presence presence,String stream,XmppEventListener listener){
		// TODO Auto-generated constructor stub
		this.stream = stream;
		try {
			mReader = new XmlReader(new ByteArrayInputStream(this.stream.getBytes()));
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		mListener = listener;
		this.presence = presence;
	}
	
	public void startParsePresence() {
		Mylog.d(TAG,"start parsing presence...");
		Mylog.d(TAG,"presence parse done!");
	}
	
	


	
}
